FROM elasticsearch:7.17.7

COPY tmp /tmp/plugins

RUN unzip -o /tmp/plugins/ik.zip -d /usr/share/elasticsearch/plugins/ik

RUN rm -rf /tmp/plugins
